﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="SubmitInfo.aspx.cs" Inherits="SubmitLeave_SubmitInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
    <table width="500" align="center">
      <!--DWLayoutTable-->
        <tr>
            <td height="23" colspan="4" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
                欢迎：<asp:Label ID="lblName" runat="server" Width="108px"></asp:Label></td>
        </tr>
        <tr>
          <td height="26" colspan="3" valign="top" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
              剩余年假小时数：
          <asp:Label ID="lblALhours" runat="server" Width="49px"></asp:Label></td>
        <td width="200" valign="top" style="height: 24px"><span style="height: 21px"> 审批者：<asp:DropDownList ID="DropDownList1" runat="server" Width="138px"> </asp:DropDownList>
        </span></td>
        </tr>
        <tr>
          <td height="21" colspan="2" valign="top" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">开始时间：</td>
          <td colspan="2" valign="top" style="width: 166px; height: 18px"><span style="height: 21px">结束时间：</span></td>
        </tr>
        <tr>
          <td height="46" colspan="2" rowspan="" align="right" valign="top" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;"> <p align="left">
              <asp:Calendar ID="cldStartDate" runat="server" Height="200px" Width="220px" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" OnDayRender="cldStartDate_DayRender" OnSelectionChanged="cldStartDate_SelectionChanged" OnVisibleMonthChanged="cldStartDate_VisibleMonthChanged" SkinID="CalendarView">                
                  <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                  <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                  <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                  <WeekendDayStyle BackColor="#CCCCFF" />
                  <OtherMonthDayStyle ForeColor="#999999" />
                  <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                  <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                  <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                      Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
              </asp:Calendar>
          &nbsp;</p>            </td>
        <td colspan="2" valign="top" style="width: 166px; height: 38px" align="right"><span style="height: 21px">
          <asp:Calendar ID="cldEndDate" runat="server" Width="220px" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" OnDayRender="cldEndDate_DayRender" OnSelectionChanged="cldEndDate_SelectionChanged" OnVisibleMonthChanged="cldEndDate_VisibleMonthChanged" SkinID="CalendarView">
              <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
              <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
              <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
              <WeekendDayStyle BackColor="#CCCCFF" />
              <OtherMonthDayStyle ForeColor="#999999" />
              <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
              <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
              <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                  Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
          </asp:Calendar>
        </span></td>
        </tr>
        <tr>
          <td colspan="2" valign="top" style="height: 24px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;" align="right"><asp:DropDownList ID="cmbStartTime" runat="server" Width="149px"> 
              <asp:ListItem Value="8">9：00</asp:ListItem>
              <asp:ListItem Value="7">10：00</asp:ListItem>
              <asp:ListItem Value="6">11：00</asp:ListItem>
              <asp:ListItem Value="5">13：00</asp:ListItem>
              <asp:ListItem Value="4">14：00</asp:ListItem>
              <asp:ListItem Value="3">15：00</asp:ListItem>
              <asp:ListItem Value="2">16：00</asp:ListItem>
              <asp:ListItem Value="1">17：00</asp:ListItem>
          </asp:DropDownList></td>
          <td colspan="2" valign="top" style="width: 166px; height: 24px;" align="right"><span style="height: 21px">
            <asp:DropDownList ID="cmbEndTime" runat="server" Width="147px"> 
              <asp:ListItem Value="9">9：00</asp:ListItem>
              <asp:ListItem Value="10">10：00</asp:ListItem>
              <asp:ListItem Value="11">11：00</asp:ListItem>
              <asp:ListItem Value="13">13：00</asp:ListItem>
              <asp:ListItem Value="14">14：00</asp:ListItem>
              <asp:ListItem Value="15">15：00</asp:ListItem>
              <asp:ListItem Value="16">16：00</asp:ListItem>
              <asp:ListItem Value="17">17：00</asp:ListItem>
            </asp:DropDownList>
          </span></td>
        </tr>
        
        <tr>
            <td height="23" colspan="4" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
                请假事由：</td>
        </tr>
        <tr>
            <td height="23" colspan="4" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
                <asp:TextBox ID="txtReason" runat="server" Height="104px" Width="484px"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="4" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
                <asp:Label ID="lblTotalHours" runat="server" Visible="False" Width="158px" ForeColor="Red"></asp:Label></td>
        </tr>
        <tr>
          <td height="23" valign="top" style="height: 21px; border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed; border-bottom: 0px dashed;">
              &nbsp;
            <asp:Button ID="btnCalculate" runat="server" Text="计算时间" OnClick="btnCalculate_Click" />                </td>
        <td colspan="3" valign="top"><span style="height: 21px">
          <asp:Button ID="btnSubmit" runat="server" Text="提交" OnClick="btnSubmit_Click" />          
        </span></td>
        </tr>
        <tr>
            <td colspan="4" style="border-right: 0px dashed; border-top: 0px dashed; border-left: 0px dashed;
                border-bottom: 0px dashed; height: 21px" valign="top">
                <asp:Label ID="lblErrorMsg" runat="server" Width="412px" ForeColor="Red"></asp:Label></td>
        </tr>
    </table>
    </div>
    </asp:Content>
